#include "TouchEvent.h"
#include "vmio.h"
#include "UsefullApi.h"

mmi_touch_func touchfunc;

void TouchEventInit(void)
{
	memset(&touchfunc, 0, sizeof(touchfunc));
}

void RegisterTouchCustomEventHandle(TouchEventHandle func)
{
	if(func)
	{
		touchfunc.TouchCustomEventHandle = func;
	}
}

void CustomTouchEventHandle(VMINT tevent, VMINT x, VMINT y)
{
	touchfunc.TouchCustomEventHandle(tevent, x, y);
}

void TouchEventDummy(VMINT tevent, VMINT x, VMINT y)
{

}
